Пакет stb_sprintf-devel-1.10^20250512git802cd45-1.el9.aarch64
Имя | stb_sprintf-devel |
---|---|
Эпоха | 0 |
Версия | 1.10^20250512git802cd45 |
Релиз | 1.el9 |
Архитектура | aarch64 |
Сайт | https://github.com/nothings/stb |
Лицензия | MIT OR Unlicense |
Время сборки | 2025-05-13 09:04:49 |
Хост сборки | builder-arm64-1.inferitos.ru |
Краткое описание | Fast sprintf, snprintf for C/C++ |
Репозитории | Extras |
Полное описание | This is a full sprintf replacement that supports everything that the C runtime sprintfs support, including float/double, 64-bit integers, hex floats, field parameters (%*.*d stuff), length reads backs, etc. Why would you need this if sprintf already exists? Well, first off, it’s *much* faster (see below). It’s also much smaller than the CRT versions code-space-wise. We’ve also added some simple improvements that are super handy (commas in thousands, callbacks at buffer full, for example). Finally, the format strings for MSVC and GCC differ for 64-bit integers (among other small things), so this lets you use the same format strings in cross platform code. It uses the standard single file trick of being both the header file and the source itself. If you just include it normally, you just get the header file function definitions. To get the code, you include it from a C or C++ file and define STB_SPRINTF_IMPLEMENTATION first. It only uses va_args macros from the C runtime to do its work. It does cast doubles to S64s and shifts and divides U64s, which does drag in CRT code on most platforms. It compiles to roughly 8K with float support, and 4K without. As a comparison, when using MSVC static libs, calling sprintf drags in 16K. |
Эррата | — |
Размер | 26 КиБ |
Исходный проект | stb-0^20250512git802cd45-1.el9 |
Контрольная сумма SHA-256 | 6c274a10b8b2d46e1baf9efc3cc8efac3e9824edfde3aada188366abf4342a7b |
×
* Mon May 12 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20250512git802cd45-1 - stb_image_resize2 2.14 * Sun Mar 16 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20250314gitf056911-1 - stb_image_resize2 2.13 * Fri Jan 10 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-4 - Patch root cause of CVE-2021-45340 * Sun Dec 15 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-3 - Add a SourceLicense field * Sun Dec 15 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-2 - Remove spec-file conditionals for Fedora 39 and EPEL7 (end-of-life) * Wed Oct 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20241002git31707d1-1 - stb_image_resize2 2.11 * Fri May 31 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240531git013ac3b-1 - stb_image 2.30 * Sat May 25 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240525git449758b-1 - stb_image_resize2 2.07 * Thu May 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240213gitae721c5-5 - Patch for GHSL-2023-171/CVE-2023-45681/CVE-2023-47212 * Thu May 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0^20240213gitae721c5-4 - Fix a description to use American English orthography